package com.yqb.study.modular.dao.mongdb;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.yqb.study.modular.dto.Customer;

public interface CustomerMongoDao extends MongoRepository<Customer, String> {

    public Customer findByFirstName(String firstName);
    public List<Customer> findByLastName(String lastName);

}
